package controllers;

import models.Usuario;
import play.data.Form;
import play.data.validation.Validation;
import play.mvc.Controller;
import play.mvc.Result;
import service.UsuarioDAO;
import views.html.*;

public class Application extends Controller {

	//CONSTANTES COM O NOME DO CAMPO NA VIEW
	public static final Form<Usuario> usuarioForm = Form.form(Usuario.class);
	
    public static Result index() {
        return ok(index.render(usuarioForm));
    }
    
    public static Result todo(){
   		 return TODO;
   }
}
